import request from '@/utils/request'

export function queryByPage (data) {
  return request({
    url: '/skillInfo/queryByPage',
    method: 'post',
    data
  })
}

export function insert (data) {
  return request({
    url: '/skillInfo/insert',
    method: 'post',
    data
  })
}

export function update (data) {
  return request({
    url: '/skillInfo/update',
    method: 'post',
    data
  })
}

export function deleteById (params) {
  return request({
    url: '/skillInfo/deleteById',
    method: 'get',
    params
  })
}